package pl.com.sjap.agenci;

public class Person {

	private String name, surname;
	int xposition, yposition;
	private double travelCost;
	private double health;
	public int getXposition() {
		return xposition;
	}
	public Person(String name, String surname, int xposition, int yposition) {
		super();
		this.name = name;
		this.surname = surname;
		this.xposition = xposition;
		this.yposition = yposition;
		this.health=100;
		this.travelCost=0.0;
	}
	public double getTravelCost() {
		return travelCost;
	}
	public void setTravelCost(double travelCost) {
		this.travelCost = travelCost;
	}
	public double getHealth() {
		return health;
	}
	public void setHealth(double health) {
		this.health = health;
	}
	public void setXposition(int xposition) {
		this.xposition = xposition;
	}
	public int getYposition() {
		return yposition;
	}
	public void setYposition(int yposition) {
		this.yposition = yposition;
	}
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getSurname() {
		return surname;
	}
	public void setSurname(String surname) {
		this.surname = surname;
	}
	

}
